home *** CD-ROM | disk | FTP | other *** search
- object frmMain: TfrmMain
- Left = 321
- Top = 107
- AutoScroll = False
- Caption = 'Interactive Query Building Demo'
- ClientHeight = 538
- ClientWidth = 361
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- Position = poScreenCenter
- OnCreate = FormCreate
- PixelsPerInch = 96
- TextHeight = 13
- object Label1: TLabel
- Left = 8
- Top = 14
- Width = 14
- Height = 13
- Caption = 'ID:'
- end
- object DBGrid1: TDBGrid
- Left = 8
- Top = 39
- Width = 345
- Height = 156
- DataSource = DemoDM.dsQualifiers
- Options = [dgEditing, dgTitles, dgIndicator, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
- TabOrder = 0
- TitleFont.Charset = DEFAULT_CHARSET
- TitleFont.Color = clWindowText
- TitleFont.Height = -11
- TitleFont.Name = 'MS Sans Serif'
- TitleFont.Style = []
- Columns = <
- item
- DropDownRows = 3
- FieldName = 'quaFilterName'
- Title.Caption = 'Qualify By'
- end
- item
- FieldName = 'quaCode'
- Title.Caption = 'Value'
- end>
- end
- object DBNavigator1: TDBNavigator
- Left = 157
- Top = 8
- Width = 196
- Height = 25
- DataSource = DemoDM.dsQualifiers
- VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbCancel]
- TabOrder = 1
- BeforeAction = DBNavigator1BeforeAction
- end
- object btnNew: TButton
- Left = 50
- Top = 208
- Width = 75
- Height = 25
- Caption = 'New'
- TabOrder = 2
- OnClick = btnNewClick
- end
- object btnSave: TButton
- Left = 141
- Top = 208
- Width = 75
- Height = 25
- Caption = 'Save'
- TabOrder = 3
- OnClick = btnSaveClick
- end
- object btnClose: TButton
- Left = 234
- Top = 208
- Width = 75
- Height = 25
- Caption = 'Close'
- TabOrder = 4
- OnClick = btnCloseClick
- end
- object cboQuaID: TComboBox
- Left = 25
- Top = 10
- Width = 85
- Height = 21
- ItemHeight = 13
- TabOrder = 5
- OnClick = cboQuaIDClick
- end
- object DBGrid2: TDBGrid
- Left = 9
- Top = 401
- Width = 345
- Height = 120
- DataSource = dsSubset
- TabOrder = 6
- TitleFont.Charset = DEFAULT_CHARSET
- TitleFont.Color = clWindowText
- TitleFont.Height = -11
- TitleFont.Name = 'MS Sans Serif'
- TitleFont.Style = []
- end
- object btnExecuteQuery: TButton
- Left = 7
- Top = 373
- Width = 106
- Height = 25
- Caption = 'Execute Query'
- TabOrder = 7
- OnClick = btnExecuteQueryClick
- end
- object Memo1: TMemo
- Left = 7
- Top = 277
- Width = 345
- Height = 89
- Font.Charset = ANSI_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Courier New'
- Font.Style = []
- ParentFont = False
- TabOrder = 8
- end
- object btnGenerateQuery: TButton
- Left = 7
- Top = 250
- Width = 109
- Height = 25
- Caption = 'Generate Query'
- TabOrder = 9
- OnClick = btnGenerateQueryClick
- end
- object qrySubset: TQuery
- DatabaseName = 'Test'
- Left = 36
- Top = 449
- end
- object dsSubset: TDataSource
- DataSet = qrySubset
- Left = 69
- Top = 448
- end
- end
-